package com.wang.user.service;

import com.wang.param.PostCollectionQueryParam;
import com.wang.param.ShopQueryParam;
import com.wang.reponse.PostVo;
import com.wang.user.model.Evaluation;
import com.wang.user.model.PostCollection;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author bkty0
* @description 针对表【post_collection(帖子收藏表)】的数据库操作Service
* @createDate 2025-04-23 10:39:21
*/
public interface PostCollectionService extends IService<PostCollection> {


    List<PostVo> listPostCollection(PostCollectionQueryParam queryParam);

    Boolean collection(PostCollection postCollection);

    Boolean cancel(PostCollection postCollection);

    PostCollection getByPostIdAndUserId(Long id, Integer uid);

    List<PostVo> listByUid(Integer uid);
}
